package org.backend.canteenbackend.service;

import org.backend.canteenbackend.common.CommonResponse;
import org.backend.canteenbackend.entity.Languages;
import org.backend.canteenbackend.entity.Product;
import org.backend.canteenbackend.vo.CategoryVO;
import org.backend.canteenbackend.vo.ItemVO;
import org.backend.canteenbackend.vo.ProductVO;

import java.util.List;

public interface CatalogService {
    CommonResponse<CategoryVO> getCategory(String categoryId);
    CommonResponse<ProductVO> getProduct(String productId);
    CommonResponse<ItemVO> getItem(String productId);
    List<Languages> getAllLanguages();
    List<Product> searchProductList(String keyword);
    boolean updateUserLanguage(String userId, String language);
}
